package com.rf.richfitwheel.admin.basedata.dao;

import com.rf.richfitwheel.admin.basedata.model.BasicDataOrgTree;
import com.rf.richfitwheel.admin.basedata.model.BasicDataOrgTreeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BasicDataOrgTreeMapper {
    long countByExample(BasicDataOrgTreeExample example);

    int deleteByExample(BasicDataOrgTreeExample example);

    int deleteByPrimaryKey(String myId);

    int insert(BasicDataOrgTree record);

    int insertSelective(BasicDataOrgTree record);

    List<BasicDataOrgTree> selectByExample(BasicDataOrgTreeExample example);

    BasicDataOrgTree selectByPrimaryKey(String myId);

    int updateByExampleSelective(@Param("record") BasicDataOrgTree record, @Param("example") BasicDataOrgTreeExample example);

    int updateByExample(@Param("record") BasicDataOrgTree record, @Param("example") BasicDataOrgTreeExample example);

    int updateByPrimaryKeySelective(BasicDataOrgTree record);

    int updateByPrimaryKey(BasicDataOrgTree record);

    List<BasicDataOrgTree> selectForUpdateById(Long myTime);
    List<BasicDataOrgTree> selectForUpdateByCode(Long myTime);
    List<BasicDataOrgTree> selectForAdd(Long myTime);
}